const Base = require('../base.js');

module.exports = class extends Base {
    indexAction() {
        //请求数据
        this.model('user').where({ name: '孙嘉辉' }).update({ pwd: '321321' });
        this.success({ message: '更新成功' })
    }
};
